<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	<%@ page import="bean.*" language="java"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Game</title>
<link href="css/tcss.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
	<div class="container">
		<div class="header">
			<img src="images/header.jpg"></img>
		</div>
		<div class="topMenu">
			<%@ include file="/WEB-INF/logged/infoBar.jsp"%>
		</div>
		<div class="sideMenu">
			<%@ include file="/WEB-INF/logged/menu.jsp"%>
		</div>
		<div class="center">
			<% EquipmentBEAN equipmentBEAN = (EquipmentBEAN) request.getAttribute( "equipmentBEAN" ); %>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyProtection" action="Shop" method="post">
						<input type="hidden" name="action" value="buyArmor1">
						Bullet free armor ( $500.000 )
						<br>
						<br>
						<br>
						<br><% if(! equipmentBEAN.isBulletFreeArmor(  ) ){%><input type="submit" value="Buy bullet free armor" style="background-color: #C0C0C0"><% } else { out.print( "You already bought it!" ); } %>
					</form>
				</div>
			</div>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyProtection" action="Shop" method="post">
						<input type="hidden" name="action" value="buyArmor2">
						Bullet free helmet ( $250.000 )
						<br>
						<br>
						<br>
						<br><% if(! equipmentBEAN.isBulletFreeHelmet(  ) ){%><input type="submit" value="Buy bullet free helmet" style="background-color: #C0C0C0"><% } else { out.print( "You already bought it!" ); } %>
					</form>
				</div>
			</div>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyProtection" action="Shop" method="post">
						<input type="hidden" name="action" value="buyArmor3">
						Anti bomb suit ( $50.000.000 )
						<br>The higher criminals on this game can obtain bombs.
						<br>They can use it to place it in a house or other objective to kill you.
						<br>This suit gives you more survival chance!
						<br><% if(! equipmentBEAN.isBombArmor(  ) ){%><input type="submit" value="Buy anti bonb armor" style="background-color: #C0C0C0"><% } else { out.print( "You already bought it!" ); } %>
					</form>
				</div>
			</div>
			<div class="buyBox">
				<div class="newsItemPicture">
					<img src="images/noProfilePicture.png"></img>
				</div>
				<div class="newsItemText">
					<form name="buyGuard" action="Shop" method="post">
						<input type="hidden" name="action" value="buyGuard<% out.print( (equipmentBEAN.getBodyguard(  ) + 1) ); %>">
						Body guard [<% out.print( equipmentBEAN.getBodyguard(  ) ); %>/5]( $10.000 / $20.000 / $30.000/ $60.000 / $200.000 )
						<br>
						<br>
						<br>
						<br><% if(! (equipmentBEAN.getBodyguard() >= 5 )){%> <input type="submit" value="Buy a body guard" style="background-color: #C0C0C0"> <% } else { out.print( "You already bought all guards!" ); } %>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>